﻿using iTextSharp.text;
using iTextSharp.text.pdf;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ItextSharpDemo
{
    class Program
    {
        static void Main(string[] args)
        {
            Program p = new Program();
            p.Test3();
        }

        void Test1()
        {
            IPdfCreator creator = new SamplePdf();
            creator.Create("sample.pdf");
        }

        void Test2()
        {
            IPdfCreator creator = new FooterAndHeaderPdf();
            creator.Create("FooterAndHearder.pdf");
        }

        void Test3()
        {
            IPdfCreator creator = new TablePdf();
            creator.Create("Table.pdf");
        }
    }
}
